using System.Collections.Generic;
using Webshop20.Application.DataTransferObjects;
namespace Webshop20.Presentation
{
    public class CheckoutOverview
    {
        private CustomerDTO customerDTO;
        private IEnumerable<CartItemDTO> cartItems;
        private string totalPrice;

        public CheckoutOverview(CustomerDTO customerDTO, IEnumerable<CartItemDTO> cartItems, string totalPrice)
        {
            this.customerDTO = customerDTO;
            this.totalPrice = totalPrice;
            this.cartItems = cartItems;
        }

        public string TotalPrice
        {
            get { return totalPrice; }
        }

        public IEnumerable<CartItemDTO> CartItems
        {
            get { return cartItems; }
        }

        public CustomerDTO CustomerDto
        {
            get { return customerDTO; }
        }
    }
}